#pragma once

#include "appender.hh"

namespace kratos {
namespace corelib {

// Console appender
class ConsoleAppender : public Appender {
public:
    // ctor
    ConsoleAppender();
    // dtor
    virtual ~ConsoleAppender();
    // @sa Appender::start
    virtual bool start(const std::string& config) override;
    // @sa Appender::stop
    virtual void stop() override;
    // @sa Appender::write
    virtual void write(const std::string& line) override;
};

}
}
